//
//  ImageTextDetailController.m
//  YunGou
//
//  Created by macbook on 16/5/23.
//  Copyright © 2016年 macbook. All rights reserved.
//

#import "ImageTextDetailController.h"

@interface ImageTextDetailController ()<UIWebViewDelegate>

@end

@implementation ImageTextDetailController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"图文详情";
    
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight - 64)];
    webView.delegate = self;
    webView.scrollView.bounces = NO;
    [self.view addSubview:webView];
    
    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://www.pkdbao.com/app.php?m=Home&c=Index&a=products_details&id=%@",_productModel.Id]]]];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
